package com.anne.fish.webapp.action.usercenter;

import com.anne.fish.model.User;
import com.anne.fish.service.UserExistsException;
import com.anne.fish.service.UserManager;
import com.anne.fish.webapp.action.UserCenterBaseAction;

/**
 * Action for facilitating User Management feature.
 */
public class UpdatePasswordAction extends UserCenterBaseAction {
	private static final long serialVersionUID = 6776558938712115191L;

	private String txtOldPwd = null;

	private String txtNewPwd1 = null;

	private String txtNewPwd2 = null;

	private UserManager userManager;

	public UserManager getUserManager() {
		return userManager;
	}

	public void setUserManager(UserManager userManager) {
		this.userManager = userManager;
	}

	public void setTxtOldPwd(String txtOldPwd) {
		this.txtOldPwd = txtOldPwd;
	}

	public String getTxtOldPwd() {
		return txtOldPwd;
	}

	public void setTxtNewPwd1(String txtNewPwd1) {
		this.txtNewPwd1 = txtNewPwd1;
	}

	public String getTxtNewPwd1() {
		return txtNewPwd1;
	}

	public void setTxtNewPwd2(String txtNewPwd2) {
		this.txtNewPwd2 = txtNewPwd2;
	}

	public String getTxtNewPwd2() {
		return txtNewPwd2;
	}
	
	public String execute() {
		return SUCCESS;
	}

	public String updatePassword() {return "";}
		

}
